﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FAF RID: 4015
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueModifierSelectCellScRsp : IMessage<RogueModifierSelectCellScRsp>, IMessage, IEquatable<RogueModifierSelectCellScRsp>, IDeepCloneable<RogueModifierSelectCellScRsp>, IBufferMessage
	{
		// Token: 0x170032DC RID: 13020
		// (get) Token: 0x0600B3CD RID: 46029 RVA: 0x001E57BF File Offset: 0x001E39BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueModifierSelectCellScRsp> Parser
		{
			get
			{
				return RogueModifierSelectCellScRsp._parser;
			}
		}

		// Token: 0x170032DD RID: 13021
		// (get) Token: 0x0600B3CE RID: 46030 RVA: 0x001E57C6 File Offset: 0x001E39C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueModifierSelectCellScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170032DE RID: 13022
		// (get) Token: 0x0600B3CF RID: 46031 RVA: 0x001E57D8 File Offset: 0x001E39D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueModifierSelectCellScRsp.Descriptor;
			}
		}

		// Token: 0x0600B3D0 RID: 46032 RVA: 0x001E57DF File Offset: 0x001E39DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierSelectCellScRsp()
		{
		}

		// Token: 0x0600B3D1 RID: 46033 RVA: 0x001E57E8 File Offset: 0x001E39E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierSelectCellScRsp(RogueModifierSelectCellScRsp other) : this()
		{
			this.cellId_ = other.cellId_;
			this.retcode_ = other.retcode_;
			this.jJPILAOHINA_ = ((other.jJPILAOHINA_ != null) ? other.jJPILAOHINA_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B3D2 RID: 46034 RVA: 0x001E5840 File Offset: 0x001E3A40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierSelectCellScRsp Clone()
		{
			return new RogueModifierSelectCellScRsp(this);
		}

		// Token: 0x170032DF RID: 13023
		// (get) Token: 0x0600B3D3 RID: 46035 RVA: 0x001E5848 File Offset: 0x001E3A48
		// (set) Token: 0x0600B3D4 RID: 46036 RVA: 0x001E5850 File Offset: 0x001E3A50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CellId
		{
			get
			{
				return this.cellId_;
			}
			set
			{
				this.cellId_ = value;
			}
		}

		// Token: 0x170032E0 RID: 13024
		// (get) Token: 0x0600B3D5 RID: 46037 RVA: 0x001E5859 File Offset: 0x001E3A59
		// (set) Token: 0x0600B3D6 RID: 46038 RVA: 0x001E5861 File Offset: 0x001E3A61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170032E1 RID: 13025
		// (get) Token: 0x0600B3D7 RID: 46039 RVA: 0x001E586A File Offset: 0x001E3A6A
		// (set) Token: 0x0600B3D8 RID: 46040 RVA: 0x001E5872 File Offset: 0x001E3A72
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList JJPILAOHINA
		{
			get
			{
				return this.jJPILAOHINA_;
			}
			set
			{
				this.jJPILAOHINA_ = value;
			}
		}

		// Token: 0x0600B3D9 RID: 46041 RVA: 0x001E587B File Offset: 0x001E3A7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueModifierSelectCellScRsp);
		}

		// Token: 0x0600B3DA RID: 46042 RVA: 0x001E588C File Offset: 0x001E3A8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueModifierSelectCellScRsp other)
		{
			return other != null && (other == this || (this.CellId == other.CellId && this.Retcode == other.Retcode && object.Equals(this.JJPILAOHINA, other.JJPILAOHINA) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B3DB RID: 46043 RVA: 0x001E58EC File Offset: 0x001E3AEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.CellId != 0U)
			{
				num ^= this.CellId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.jJPILAOHINA_ != null)
			{
				num ^= this.JJPILAOHINA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B3DC RID: 46044 RVA: 0x001E595A File Offset: 0x001E3B5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B3DD RID: 46045 RVA: 0x001E5962 File Offset: 0x001E3B62
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B3DE RID: 46046 RVA: 0x001E596C File Offset: 0x001E3B6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CellId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.CellId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this.jJPILAOHINA_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.JJPILAOHINA);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B3DF RID: 46047 RVA: 0x001E59E0 File Offset: 0x001E3BE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.CellId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CellId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.jJPILAOHINA_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.JJPILAOHINA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B3E0 RID: 46048 RVA: 0x001E5A50 File Offset: 0x001E3C50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueModifierSelectCellScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.CellId != 0U)
			{
				this.CellId = other.CellId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.jJPILAOHINA_ != null)
			{
				if (this.jJPILAOHINA_ == null)
				{
					this.JJPILAOHINA = new ItemList();
				}
				this.JJPILAOHINA.MergeFrom(other.JJPILAOHINA);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B3E1 RID: 46049 RVA: 0x001E5ACC File Offset: 0x001E3CCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B3E2 RID: 46050 RVA: 0x001E5AD8 File Offset: 0x001E3CD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 80U)
					{
						if (num != 114U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.jJPILAOHINA_ == null)
							{
								this.JJPILAOHINA = new ItemList();
							}
							input.ReadMessage(this.JJPILAOHINA);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.CellId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040048AB RID: 18603
		private static readonly MessageParser<RogueModifierSelectCellScRsp> _parser = new MessageParser<RogueModifierSelectCellScRsp>(() => new RogueModifierSelectCellScRsp());

		// Token: 0x040048AC RID: 18604
		private UnknownFieldSet _unknownFields;

		// Token: 0x040048AD RID: 18605
		public const int CellIdFieldNumber = 1;

		// Token: 0x040048AE RID: 18606
		private uint cellId_;

		// Token: 0x040048AF RID: 18607
		public const int RetcodeFieldNumber = 10;

		// Token: 0x040048B0 RID: 18608
		private uint retcode_;

		// Token: 0x040048B1 RID: 18609
		public const int JJPILAOHINAFieldNumber = 14;

		// Token: 0x040048B2 RID: 18610
		private ItemList jJPILAOHINA_;
	}
}
